package aip.project.controller.bio.Admin.AggiungiRicetta;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;
import org.slim3.util.RequestMap;

import aip.project.service.RicetteService;

public class AggiungiController extends Controller {
    
    RicetteService service = new RicetteService();

    @Override
    public Navigation run() throws Exception {
        service.addRicetta(new RequestMap(request));
        return redirect(basePath);
    }
}
